package com.smalluz.ad.modules.oe.bean;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.smalluz.ad.modules.common.util.json.JacksonUtils;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class CluePageRequest {

    @JsonProperty("advertiser_ids")
    private List<String> advertiserIds;

    @JsonProperty("start_time")
    private Date startTime;

    @JsonProperty("end_time")
    private Date endTime;

    @JsonProperty("page")
    private Long page;

    @JsonProperty("page_size")
    private Long pageSize;

    private String toJson() {
        return JacksonUtils.bean2Jsn(this);
    }

    @Override
    public String toString() {
        return this.toJson();
    }
    

}
